Optimal. Leaf size=24 \[ \frac{\text{PolyLog}\left (2,1-\frac{2 a}{a+b x}\right )}{2 a b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.133237, antiderivative size = 24, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.148, Rules used = {2411, 2343, 2333, 2315} \[ \frac{\text{PolyLog}\left (2,1-\frac{2 a}{a+b x}\right )}{2 a b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2411
Rule 2343
Rule 2333
Rule 2315
Rubi steps
\begin{align*} \int \frac{\log \left (\frac{2 a}{a+b x}\right )}{(a-b x) (a+b x)} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{\log \left (\frac{2 a}{x}\right )}{(2 a-x) x} \, dx,x,a+b x\right )}{b}\\ &=-\frac{\operatorname{Subst}\left (\int \frac{\log (2 a x)}{\left (2 a-\frac{1}{x}\right ) x} \, dx,x,\frac{1}{a+b x}\right )}{b}\\ &=-\frac{\operatorname{Subst}\left (\int \frac{\log (2 a x)}{-1+2 a x} \, dx,x,\frac{1}{a+b x}\right )}{b}\\ &=\frac{\text{Li}_2\left (1-\frac{2 a}{a+b x}\right )}{2 a b}\\ \end{align*}
Mathematica [A] time = 0.0042426, size = 27, normalized size = 1.12 \[ \frac{\text{PolyLog}\left (2,\frac{b x-a}{a+b x}\right )}{2 a b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.062, size = 20, normalized size = 0.8 \begin{align*}{\frac{1}{2\,ab}{\it dilog} \left ( 2\,{\frac{a}{bx+a}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.10069, size = 162, normalized size = 6.75 \begin{align*} \frac{1}{4} \, b{\left (\frac{\log \left (b x + a\right )^{2} - 2 \, \log \left (b x + a\right ) \log \left (b x - a\right )}{a b^{2}} + \frac{2 \,{\left (\log \left (b x + a\right ) \log \left (-\frac{b x + a}{2 \, a} + 1\right ) +{\rm Li}_2\left (\frac{b x + a}{2 \, a}\right )\right )}}{a b^{2}}\right )} + \frac{1}{2} \,{\left (\frac{\log \left (b x + a\right )}{a b} - \frac{\log \left (b x - a\right )}{a b}\right )} \log \left (\frac{2 \, a}{b x + a}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.61669, size = 50, normalized size = 2.08 \begin{align*} \frac{{\rm Li}_2\left (-\frac{2 \, a}{b x + a} + 1\right )}{2 \, a b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} - \int \frac{\log{\left (2 \right )}}{- a^{2} + b^{2} x^{2}}\, dx - \int \frac{\log{\left (\frac{a}{a + b x} \right )}}{- a^{2} + b^{2} x^{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int -\frac{\log \left (\frac{2 \, a}{b x + a}\right )}{{\left (b x + a\right )}{\left (b x - a\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]